<template>
    <div class="jx-content" id="contain">
        <div class="flexBox">
            <div class="addCourseBtn">
                <div>
                    <i class="iconfont icon-jiahao"></i>
                    <p>添加课程</p>
                </div>
            </div>
            <div>
                <div class="topArea">
                    <span class="sign">自定义</span>
                    <i class="iconfont icon-shujudaping courseTitle"></i>
                    <i class="iconfont icon-Group- closeCourse"></i>
                </div>
                <div class="downArea">
                    <p class="courseName">分布式计算式计算框架式计算框架框架Spark</p>
                    <div class="btnBox">
                        <i class="editCourseBtn">修改课程</i>
                        <i class="shareResourceBtn">共享资源</i>
                    </div>
                </div>
            </div>
            <div>
                <div class="topArea">
                    <span class="sign">自定义</span>
                    <i class="iconfont icon-shujudaping courseTitle"></i>
                    <i class="iconfont icon-Group- closeCourse"></i>
                </div>
                <div class="downArea">
                    <p class="courseName">分布式计算式计算框架式计算框架框架Spark</p>
                    <div class="btnBox">
                        <i class="editCourseBtn">修改课程</i>
                        <i class="shareResourceBtn">共享资源</i>
                    </div>
                </div>
            </div>
            <div>
                <div class="topArea">
                    <span class="sign">自定义</span>
                    <i class="iconfont icon-shujudaping courseTitle"></i>
                    <i class="iconfont icon-Group- closeCourse"></i>
                </div>
                <div class="downArea">
                    <p class="courseName">分布式计算式计算框架式计算框架框架Spark</p>
                    <div class="btnBox">
                        <i class="editCourseBtn">修改课程</i>
                        <i class="shareResourceBtn">共享资源</i>
                    </div>
                </div>
            </div>
            <div>
                <div class="topArea">
                    <span class="sign">自定义</span>
                    <i class="iconfont icon-shujudaping courseTitle"></i>
                    <i class="iconfont icon-Group- closeCourse"></i>
                </div>
                <div class="downArea">
                    <p class="courseName">分布式计算式计算框架式计算框架框架Spark</p>
                    <div class="btnBox">
                        <i class="editCourseBtn">修改课程</i>
                        <i class="shareResourceBtn">共享资源</i>
                    </div>
                </div>
            </div>
            <div>
                <div class="topArea">
                    <span class="sign">自定义</span>
                    <i class="iconfont icon-shujudaping courseTitle"></i>
                    <i class="iconfont icon-Group- closeCourse"></i>
                </div>
                <div class="downArea">
                    <p class="courseName">分布式计算式计算框架式计算框架框架Spark</p>
                    <div class="btnBox">
                        <i class="editCourseBtn">修改课程</i>
                        <i class="shareResourceBtn">共享资源</i>
                    </div>
                </div>
            </div>
            <div>
                <div class="topArea">
                    <span class="sign">自定义</span>
                    <i class="iconfont icon-shujudaping courseTitle"></i>
                    <i class="iconfont icon-Group- closeCourse"></i>
                </div>
                <div class="downArea">
                    <p class="courseName">分布式计算式计算框架式计算框架框架Spark</p>
                    <div class="btnBox">
                        <i class="editCourseBtn">修改课程</i>
                        <i class="shareResourceBtn">共享资源</i>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<style scoped lang="scss">
 @import "./../../../styles/ypublic.scss";
 $yellow:#fea11e;
 .jx-content{
     background: none;
     padding: 0;
     box-shadow: none;
 }
.flexBox{
    >div{
        width: 260px;
        background: $white;
        height: 280px;
        margin:20px 20px 5px 20px;
        float: left;
        border-radius: $br5;
        box-shadow: $boxShadow;
        &:hover{
            transform: scale(1.1);
            .sign{
                background: $yellow!important;
            }
            .courseTitle{
                color: $yellow;
            }
            .closeCourse{
                font-size: 16px!important;
            }
        }
        .topArea{
            height: 136px;
            background: #495172;
            border-radius:  $br5 $br5 0 0;
            position: relative;
            color: $white;
            .closeCourse{
                position: absolute;
                right: 10px;
                top: 10px;
                font-size: 9px;
                display: block;
                line-height: 9px;
                cursor: pointer;
            }
            .courseTitle{
                display: block;
                height: 100%;
                width: 100%;
                text-align: center;
                line-height: 136px;
                font-size: 90px;
            }
            .sign{
                color: #3e4562;
                width: 50px;
                height: 16px;
                border-radius: 0 20px 20px 0;
                background: $white;
                font-size: 10px;
                display: block;
                text-align: center;
                line-height: 16px;
                position: absolute;
                left: 0;
                top: 12px;
            }
        }
        .downArea{
            height: 100px;
            padding: 24px;
            position: relative;
            p{
                font-size: 18px;
                text-align: center;
                line-height: 1.7;
            }
            .btnBox{
                position: absolute;
                bottom: 24px;
                left: 0;
                width: 100%;
                height: 30px;
                text-align: center;
                i{
                    width: 90px;
                    height: 30px;
                    border: 1px solid #c4cee1;
                    line-height: 30px;
                    text-align: center;
                    color: $yBlue;
                    display: inline-block;
                    cursor: pointer;
                }
                .editCourseBtn{
                    margin-right: 20px;
                }
            }
        }
    }
    .addCourseBtn{
        border: 1px dashed #d9d9d9;
        width: 258px;
        height: 278px;
        >div{
            color: #8f8f8f;
            text-align: center;
            i{
                margin-top: 112px;
                display: inline-block;
                font-size: 14px;
            }
        }
    }
}
</style>
<script>
    export default{
        data(){
            return{

            }
        },
        methods:{

        }
    }
</script>
